class IncreasePasswordLength < ActiveRecord::Migration
  def self.up
    change_column :users, :password, :string, :limit => 128, :null => false
  end

  def self.down
    User.delete_all
    change_column :users, :password, :string, :limit => 32, :null => false
  end
end
